package com.zhxy.manager.service.intf;

import com.zhxy.manager.entity.StudentScore;
import com.zhxy.manager.vo.PageBean;
import com.zhxy.manager.vo.R;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface StudentScoreService {
    //新增
    R save(StudentScore studentScore);
    //修改
    R update(StudentScore studentScore);
    //删除
    R del(int id);
    //查询
    PageBean queryPage(int limit, int page);
    //导入导出
    //查询
    List<StudentScore> selectAll();
    //条件查询
    PageBean queryPageWhere(String name,int sex, int limit, int page);
    //批量删除
    R delBatch(int[] ids);

    //多表联合查询
    PageBean queryDetail(String course,int page,int limit);
    //实现统计
    R queryTj();
    //导入导出
    //实现导入
    R saveBatch(MultipartFile file) throws IOException;
}
